package com.zuxia.po;

import java.util.HashSet;
import java.util.Set;

import com.alibaba.fastjson.annotation.JSONField;

/**
 * Partstypeinfo entity. @author MyEclipse Persistence Tools
 */

public class Partstypeinfo implements java.io.Serializable {

	// Fields

	private Integer ptiid;
	private String ptitypeName;
	@JSONField(serialize=false)
	private Set inventoryinfos = new HashSet(0);

	// Constructors

	/** default constructor */
	public Partstypeinfo() {
	}

	/** minimal constructor */
	public Partstypeinfo(String ptitypeName) {
		this.ptitypeName = ptitypeName;
	}

	/** full constructor */
	public Partstypeinfo(String ptitypeName, Set inventoryinfos) {
		this.ptitypeName = ptitypeName;
		this.inventoryinfos = inventoryinfos;
	}

	// Property accessors

	public Integer getPtiid() {
		return this.ptiid;
	}

	public void setPtiid(Integer ptiid) {
		this.ptiid = ptiid;
	}

	public String getPtitypeName() {
		return this.ptitypeName;
	}

	public void setPtitypeName(String ptitypeName) {
		this.ptitypeName = ptitypeName;
	}

	public Set getInventoryinfos() {
		return this.inventoryinfos;
	}

	public void setInventoryinfos(Set inventoryinfos) {
		this.inventoryinfos = inventoryinfos;
	}

}